package cn.tedu.jsd2205the.back.end.project.service.impl;


import cn.tedu.jsd2205the.back.end.project.mapper.OrderDistributionMapper;
import cn.tedu.jsd2205the.back.end.project.pojo.entity.OrderDistribution;
import cn.tedu.jsd2205the.back.end.project.service.IOderDistributionService;
import cn.tedu.jsd2205the.back.end.project.service.IOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OrderDistributionServiceImpl implements IOderDistributionService {
    @Autowired
    OrderDistributionMapper orderDistributionMapper;

    @Override
    public void insert(OrderDistribution distribution) {
        orderDistributionMapper.insert(distribution);
        log.debug("添加配送信息:{}",distribution);
    }
}
